<form id="add-form" class="form-horizontal" style="position:relative;background: #fff" role="form"
      data-toggle="validator" method="POST" action="">
    <style>
.daytime-select{
    width:47%!important;
}

</style>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="tabs_0">
                <div class="form-group ">
                    <label for="c-classes_id" class="control-label col-xs-12 col-sm-2">班级:</label>
                    <div class="col-xs-12 col-sm-8" id="div-classes_id"  style="position: relative">
                        <select name="row[classes_id]" id="c-classes_id" class="form-control dblclick" data-default="{$classesId}">
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-ocation_class" class="control-label col-xs-12 col-sm-2">教学点:</label>
                    <div class="col-xs-12 col-sm-8" id="div-ocation_id" style="position: relative">
                        <select name="row[ocation_id]" id="c-ocation_class" class="form-control dblclick">
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">时间安排:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div id="time-schedule-container">
                            <!-- 时间段项目将在这里动态生成 -->
                        </div>
                        <button type="button" class="btn btn-success btn-sm" id="add-time-schedule">
                            <i class="fa fa-plus"></i> 添加时间段
                        </button>
                    </div>
                </div>

                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>


            </div>


        </div>
    </div>
</form>





